
package nccloud.itf.arap.bill;

import java.util.Map;

import nc.ui.querytemplate.querytree.IQueryScheme;
import nc.vo.arap.earning.EarningBillVO;
import nc.vo.pub.BusinessException;

public interface IEarninghvoMaintain {

        public void delete(EarningBillVO[] clientFullVOs,
                        EarningBillVO[] originBills) throws BusinessException;

        public EarningBillVO[] insert(EarningBillVO[] clientFullVOs,
                        EarningBillVO[] originBills) throws BusinessException;

        public EarningBillVO[] update(EarningBillVO[] clientFullVOs,
                        EarningBillVO[] originBills) throws BusinessException;

        public EarningBillVO[] query(IQueryScheme queryScheme)
                        throws BusinessException;

        public EarningBillVO[] save(EarningBillVO[] clientFullVOs,
                        EarningBillVO[] originBills) throws BusinessException;

        public EarningBillVO[] unsave(EarningBillVO[] clientFullVOs,
                        EarningBillVO[] originBills) throws BusinessException;

        public EarningBillVO[] approve(EarningBillVO[] clientFullVOs,
                        EarningBillVO[] originBills) throws BusinessException;

        public EarningBillVO[] unapprove(EarningBillVO[] clientFullVOs,
                        EarningBillVO[] originBills) throws BusinessException;
        
        public EarningBillVO genVoucher(String billid, String pzid) throws BusinessException;
        
        public Map<String, String> getOrgMap(String string) throws BusinessException;

}
